// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Button from 'ant-design-vue/lib/button'
import Popover from 'ant-design-vue/lib/popover'
import Icon from 'ant-design-vue/lib/icon'
import Tooltip from 'ant-design-vue/lib/tooltip'
import Input from 'ant-design-vue/lib/input'
// import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import App from './App'
import router from './router'

// Vue.component(Button.name, Button)
Vue.use(Button)
Vue.use(Icon)
// Vue.use(Antd)
Vue.use(Popover)
Vue.use(Tooltip)
Vue.use(Input)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
